package com.company.iterator.v04;

public class Main {
    public static void main(String[] args) {
        Collection_ list = new MyArrayList();
        for (int i = 0; i < 15; i++) {
            list.add(new String("s" + i));
        }
        System.out.println(list.size());


        MyArrayList list1 = (MyArrayList) list;
        for (int i = 0; i < list1.size(); i++) {
            /////无法通用
        }
    }

}
